package com.sealer.pattern.creational.builder.product;

/**
 * Created by sealer on 17/03/31.
 */
/*Product*/
public class Pizza {
    private String dough = "";//面团
    private String sauce = "";//酱
    private String topping = "";//配料

    public void setDough(String dough) {
        this.dough = dough;
    }

    public void setSauce(String sauce) {
        this.sauce = sauce;
    }

    public void setTopping(String topping) {
        this.topping = topping;
    }

    @Override
    public String toString() {
        return "Pizza{" +
                "dough='" + dough + '\'' +
                ", sauce='" + sauce + '\'' +
                ", topping='" + topping + '\'' +
                '}';
    }
}